package com.scorpio.scbasics.rediostation.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scorpio.common.annotation.Excel;
import com.scorpio.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 biz_sys_msg_detail
 *
 * @author scorpio
 * @date 2020-10-14
 */
@Data
@TableName("biz_sys_msg_detail")
public class BizSysMsgDetailEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @Excel(name = "0、未读  1、已读")
    private Long userId;

    /**
     * 好友ID，0表示系统消息
     */
    @Excel(name = "好友ID，0表示系统消息")
    private Long toUserId;

    /**
     * $column.columnComment
     */
    @Excel(name = "好友ID，0表示系统消息")
    private Long smId;

    /**
     * $column.columnComment
     */
    @Excel(name = "好友ID，0表示系统消息")
    private String msg;

    /**
     * $column.columnComment
     */
    @Excel(name = "好友ID，0表示系统消息")
    private Long operateType;

    /**
     * $column.columnComment
     */
    @Excel(name = "好友ID，0表示系统消息")
    private Long operateId;

    /**
     * 0、未读  1、已读
     */
    @Excel(name = "0、未读  1、已读")
    private Long isRead;

    /**
     * $column.columnComment
     */
    @Excel(name = "0、未读  1、已读")
    private String obvious;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("toUserId", getToUserId())
                .append("smId", getSmId())
                .append("msg", getMsg())
                .append("operateType", getOperateType())
                .append("operateId", getOperateId())
                .append("isRead", getIsRead())
                .append("createTime", getCreateTime())
                .append("obvious", getObvious())
                .toString();
    }
}
